package com.xq.query;

import com.xq.dto.DmsDevice.DmsDeviceTypeInsertDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.Min;

@Data
@AllArgsConstructor
public class DmsDeviceTypeListQuery extends DmsDeviceTypeInsertDTO{

    @Min(value = 1,message = "页码不能小于1")
    @ApiModelProperty(value = "查询页码",example = "1")
    private Integer pageIndex;
    @Min(value = 1,message = "页码最小为1")
    @ApiModelProperty(value = "查询条数",example = "10")
    private Integer pageSize;

}
